import request from '@/utils/request'


// 查询
export const getbindBoxCode = async (data) =>{
	return request({
		url: '/project/order/getbindBoxCode',
		'method': 'GET',
		'data': data
	})
}

export const bindBoxCodeEdit = async (data) => {
	return request({
		url: '/project/kis-materiel-ex-warehouse/bindBoxCodeEdit',
		'method': 'POST',
		'data': data
	})
}

// 提交
export const bindBoxCodeSave = async (data) => {
	return request({
		url: '/project/order/bindBoxCodeSave',
		'method': 'POST',
		'data': data
	})
}

// 提交后查询物料备料单绑定多个箱码
export const bindBoxCodeNumQuery = async (data) => {
	return request({
		url: '/project/kis-materiel-ex-warehouse/queryMultiCartonCode',
		'method': 'POST',
		'data': data
	})
}

// 更新物料备料单绑定多个箱码的数量
export const bindBoxCodeNumUpdate = async (data) => {
	return request({
		url: '/project/kis-materiel-ex-warehouse/bindBoxCodeNumUpdate',
		'method': 'POST',
		'data': data
	})
}

export const queryOrderFlexList = async (data) =>{
	return request({
		url: '/project/order-detail/queryOrderFlexList',
		'method': 'GET',
		'data': data
	})
}